<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="categoryId" name="categoryId" th:value="${category.categoryId}"  type="hidden">
							
							<div class="form-group">
								<label class="col-sm-3 control-label ">上级分类：</label>
								<div class="col-sm-8">
								<input th:value="${parentCategoryName}"
										class="form-control" type="text" readonly="true" />
									<input class="form-control hidden" type="text" id="parentId" name="parentId" th:value="${category.parentId}">
								</div>
							</div>
						<!-- 	
							<div class="form-group">	
								<label class="col-sm-3 control-label">父分类ID：</label>
								<div class="col-sm-8">
									<input id="parentId" name="parentId" th:value="${category.parentId}" class="form-control" type="text">
								</div>
							</div> -->
							<div class="form-group">	
								<label class="col-sm-3 control-label">分类名称：</label>
								<div class="col-sm-8">
									<input id="name" name="name" th:value="${category.name}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">排序：</label>
								<div class="col-sm-8">
									<input id="sort" name="sort" th:value="${category.sort}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">目录类型 2=二级目录/1=一级目录/0=总目录：</label>
								<div class="col-sm-8">
									<input id="type" name="type" th:value="${category.type}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">状态 1=显示/0=隐藏：</label>
								<div class="col-sm-8">
									<input id="status" name="status" th:value="${category.status}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">是否导航栏 1=显示/0=隐藏：</label>
								<div class="col-sm-8">
									<input id="showInNav" name="showInNav" th:value="${category.showInNav}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">是否置顶 1=置顶/0=默认：</label>
								<div class="col-sm-8">
									<input id="showInTop" name="showInTop" th:value="${category.showInTop}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">是否热门 1=热门/0=默认：</label>
								<div class="col-sm-8">
									<input id="showInHot" name="showInHot" th:value="${category.showInHot}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">页面标题：</label>
								<div class="col-sm-8">
									<input id="pageTitle" name="pageTitle" th:value="${category.pageTitle}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">页面描述：</label>
								<div class="col-sm-8">
									<input id="pageDescription" name="pageDescription" th:value="${category.pageDescription}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">页面关键词：</label>
								<div class="col-sm-8">
									<input id="pageKeyword" name="pageKeyword" th:value="${category.pageKeyword}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">备注信息：</label>
								<div class="col-sm-8">
									<input id="remarks" name="remarks" th:value="${category.remarks}" class="form-control" type="text">
								</div>
							</div>
																					<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/shop/category/add.js">
	</script>
</body>
</html>
